package com.fuful.mappers;

import com.fuful.domian.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UsersMapper {
    int addUsers(Users users);
    Users findByUserName(@Param("parUserName") String parUserName);
    List<Users> findByAll();
    List<Users> findByLikeUserName(@Param("parUserName") String parUserName);
    int updateUpwd(@Param("uid") int uid,@Param("newUpwd") String newUpwd);
    int addManyUsers(List<Users> manyUsers);
    int delManyUsers(List<Users> manyUsers);
}
